package com.zxx.pattern.flyweight.fly2;

/**
 * 绘制圆形的具体类
 * @author zxx on 2021/7/16
 */
public class Circle extends Shape {
    private String color;

    public Circle(String color) {
        this.color = color;
    }

    @Override
    public void draw() {
        System.out.println("画了一个 " + color + " 的圆形");
    }
}
